
Introduction
Environment Setup
What is JavaScript vs ES-5 or ES-6
JavaScript Syntax
JavaScript Comments
JavaScript Use Strict
JavaScript Variables
JavaScript Reserved Words
JavaScript Scope
JavaScript Data Types
JavaScript Function
Function overloading not possible in JavaScript
JavaScript Arrow Function
JavaScript Numbers
JavaScript Number Methods
JavaScript String
JavaScript String Methods
JavaScript if else and else if
JavaScript Comparison and Logical Operators
JavaScript Arrays
JavaScript Sorting Arrays
JavaScript Array Iteration Methods
JavaScript for loop
JavaScript Let keyword
JavaScript Const
JavaScript Objects
JavaScript Object Methods
JavaScript ES5 Object Methods
JavaScript Object Accessors
JavaScript Math Object
JavaScript Random
JavaScript this Keyword
JavaScript Date Objects and Date Formats
JavaScript Classes
JavaScript While Loop
JavaScript Break and Continue
JavaScript Switch Statement
JavaScript JSON
Error handling in JavaScript
JavaScript Variables allows string data type. This value stores the data into memory using ‘var’ keyword. This var keyword variable store the many type of data. It is auto data type convert by the value type. Sometime called ‘var’ is a JavaScript reserved keyword.
Now given bellow the code and explain the code:
<script type="text/javascript">
var double = 3.14;
console.log(double);
var intger=100;
console.log(intger);
var name = "Farhan Sakib";
console.log(name);
var char='J';
console.log(char);
</script>
We can see the JavaScript variable with declare using var keyword but right-side value type variable auto converts data type.